All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.naming.NameAlreadyBoundException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.naming.NamingException
                           |
                           +----java.naming.NameAlreadyBoundException

public class NameAlreadyBoundException
extends NamingException
NameAlreadyBoundException is raised by methods to indicate that a binding cannot be added because the name is already bound to another object.


Constructor Index

 o NameAlreadyBoundException()
Constructs a new instance of NameAlreadyBoundException.
 o NameAlreadyBoundException(Name, Object, Name)
Constructs a new instance of NameAlreadyBoundException indicating the context in which it occurred.
 o NameAlreadyBoundException(Name, Object, Name, String)
Constructs a new instance of NameAlreadyBoundException indicating the context in which it occurred.
 o NameAlreadyBoundException(String)
Constructs a new instance of NameAlreadyBoundException using the arguments supplied.

Constructors

 o NameAlreadyBoundException
 public NameAlreadyBoundException(Name resolvedName,
                                  Object resolvedObj,
                                  Name remainingName,
                                  String explanation)
Constructs a new instance of NameAlreadyBoundException indicating the context in which it occurred.

Parameters:
resolvedName - The part of the name that has been successfully resolved.
resolvedObj - The object to which resolution was successful.
remainingName - The remaining unresolved portion of the name.
explanation - Additional detail about this exception.
 o NameAlreadyBoundException
 public NameAlreadyBoundException(Name resolvedName,
                                  Object resolvedObj,
                                  Name remainingName)
Constructs a new instance of NameAlreadyBoundException indicating the context in which it occurred.

Parameters:
resolvedName - The part of the name that has been successfully resolved.
resolvedObj - The object to which resolution was successful.
remainingName - The remaining unresolved portion of the name.
 o NameAlreadyBoundException
 public NameAlreadyBoundException(String explanation)
Constructs a new instance of NameAlreadyBoundException using the arguments supplied.

Parameters:
explanation - Additional detail about this exception.
 o NameAlreadyBoundException
 public NameAlreadyBoundException()
Constructs a new instance of NameAlreadyBoundException.


All Packages  Class Hierarchy  This Package  Previous  Next  Index